package com.lzb.musicplayer.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

public class GroupMusicInfo implements MultiItemEntity {
    private String groupKey;
    private int itemType=0;
    private boolean isPlay;

    public boolean isPlay() {
        return isPlay;
    }

    public void setPlay(boolean play) {
        isPlay = play;
    }

    private List<MusicFile> list;

    public String getGroupKey() {
        return groupKey;
    }

    public void setGroupKey(String groupKey) {
        this.groupKey = groupKey;
    }

    public GroupMusicInfo(String groupKey, List<MusicFile> list) {
        this.groupKey = groupKey;
        this.itemType = itemType;
        this.list = list;
    }

    public List<MusicFile> getList() {
        return list;
    }

    public void setList(List<MusicFile> list) {
        this.list = list;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
    public void setItemType(int itemTypes) {
        this.itemType = itemTypes;
    }



}